ISML Machine Learning, Class 9 Lab - Regularized Least Squares


This Lab is about linear Regularized Least Squares. Follow the instructions below. Think hard before you call the instructors!

Download:

1. Warm up - data generation

We start again from data generation, using the function MixGauss:

Plot the various datasets with the function scatter, e.g.:
figure;
hold on
scatter(Xtr(Ytr==1,1), Xtr(Ytr==1,2), '.r');
scatter(Xtr(Ytr==-1,1), Xtr(Ytr==-1,2), '.b');
title('training set')
hold off

2. Linear RLS

3. If you have time - More experiments